package com.pan.old.tong.entity;

import java.util.function.Function;

public class PosNameMap<T> {
    Integer posittion;
    String name;
    Function<String,T> mapFunction;

    public PosNameMap(Integer posittion, String name, Function<String,T> mapFunction) {
        this.posittion = posittion;
        this.name = name;
        this.mapFunction = mapFunction;

    }

    public PosNameMap() {
    }

    public Integer getPosittion() {
        return posittion;
    }

    public void setPosittion(Integer posittion) {
        this.posittion = posittion;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Function<String, T> getMapFunction() {
        return mapFunction;
    }

    public void setMapFunction(Function<String, T> mapFunction) {
        this.mapFunction = mapFunction;
    }
}
